#ifndef UARTDRIVERC_H_
#define UARTDRIVERC_H_

#include "DSP2833x_Device.h"
#include <deque>

class UARTDriverC
{
public:
	bool Init();
	void SendChar(char ch);
	void SendData(char* buffer, int length);
	void SendData(char* buffer);
	
	bool ReadChar(char& ch); 
	Uint32 ReadData(char* buffer);
	void ReadProcess();
	Uint32 GetData(char* buffer);
	
private:
	std::deque<char> m_Buffer;
};

#endif /*UARTDRIVERC_H_*/
